package com.settlement.system.service.provider;

import com.settlement.system.service.ITblWpSendReturnSqlConfigService;
import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;

/**
 * 描述: 发退货数据访问服务接口实现类 <br>
 *
 * @author: hc <br>
 * 创建时间: 2022.07.27 15:12 <br>
 * <br>
 */
@Service("dataAccessProvider")
public class DataAccessProviderImpl implements DataAccessProvider {

    @Resource
    ITblWpSendReturnSqlConfigService tblWpSendReturnSqlConfigService;

    @Override
    public String getAccessData(String key) {
        return tblWpSendReturnSqlConfigService.selectByFieldName(key);
    }
}
